package com.listener.child;

import org.springframework.context.ApplicationListener;

public class BarListener implements ApplicationListener<FooEvent> {

	public void onApplicationEvent(FooEvent fooEvent) {
		fooEvent.setColor(fooEvent.getColor() + 12);
	}

}
